// samsting : this file is auto create.

#include "R-kvstore/2015-01-01/DescribeMonitorValuesResponse.h"

namespace aliyun { namespace R_kvstore {

DescribeMonitorValuesResponse::DescribeMonitorValuesResponse() {
}

const string& DescribeMonitorValuesResponse::KVStoreInstanceMonitor::KVStoreMonitorKey::GetMonitorKey(void) const {
  return MonitorKey_;
}

const string& DescribeMonitorValuesResponse::KVStoreInstanceMonitor::KVStoreMonitorKey::GetValue(void) const {
  return Value_;
}

const string& DescribeMonitorValuesResponse::KVStoreInstanceMonitor::KVStoreMonitorKey::GetUnit(void) const {
  return Unit_;
}

const std::vector<DescribeMonitorValuesResponse::KVStoreInstanceMonitor::KVStoreMonitorKey>& DescribeMonitorValuesResponse::KVStoreInstanceMonitor::GetMonitorKeys(void) const {
  return MonitorKeys_;
}

const string& DescribeMonitorValuesResponse::KVStoreInstanceMonitor::GetInstanceId(void) const {
  return InstanceId_;
}

const std::vector<DescribeMonitorValuesResponse::KVStoreInstanceMonitor>& DescribeMonitorValuesResponse::GetInstanceIds(void) const {
  return InstanceIds_;
}

const string& DescribeMonitorValuesResponse::GetDate(void) const {
  return Date_;
}

const char* DescribeMonitorValuesResponse::BaseKey(void) {
  return "DescribeMonitorValuesResponse";
}

void DescribeMonitorValuesResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int InstanceIds__length = 0;
  UnmarshallerInt(InstanceIds__length, response_map, "DescribeMonitorValuesResponse.InstanceIds.Length");
  if(InstanceIds__length >= 0) {
    InstanceIds_.resize(InstanceIds__length);
    for(int i1 = 0; i1 < InstanceIds__length; i1++) {
      int InstanceIds_i1_MonitorKeys__length = 0;
      UnmarshallerInt(InstanceIds_i1_MonitorKeys__length, response_map, "DescribeMonitorValuesResponse.InstanceIds[+"+string_ValueOfInt(i1)+"].MonitorKeys.Length");
      if(InstanceIds_i1_MonitorKeys__length >= 0) {
        InstanceIds_[i1].MonitorKeys_.resize(InstanceIds_i1_MonitorKeys__length);
        for(int i2 = 0; i2 < InstanceIds_i1_MonitorKeys__length; i2++) {
          UnmarshallerString(InstanceIds_[i1].MonitorKeys_[i2].MonitorKey_, response_map, "DescribeMonitorValuesResponse.InstanceIds[+"+string_ValueOfInt(i1)+"].MonitorKeys["+string_ValueOfInt(i2)+"].MonitorKey");
          UnmarshallerString(InstanceIds_[i1].MonitorKeys_[i2].Value_, response_map, "DescribeMonitorValuesResponse.InstanceIds[+"+string_ValueOfInt(i1)+"].MonitorKeys["+string_ValueOfInt(i2)+"].Value");
          UnmarshallerString(InstanceIds_[i1].MonitorKeys_[i2].Unit_, response_map, "DescribeMonitorValuesResponse.InstanceIds[+"+string_ValueOfInt(i1)+"].MonitorKeys["+string_ValueOfInt(i2)+"].Unit");
        } // for(int i2 = 0; i2 < InstanceIds_i1_MonitorKeys__length; i2++) {
      } // if(InstanceIds_i1_MonitorKeys__length >= 0) {

      UnmarshallerString(InstanceIds_[i1].InstanceId_, response_map, "DescribeMonitorValuesResponse.InstanceIds["+string_ValueOfInt(i1)+"].InstanceId");
    } // for(int i1 = 0; i1 < InstanceIds__length; i1++) {
  } // if(InstanceIds__length >= 0) {

  UnmarshallerString(Date_, response_map, "DescribeMonitorValuesResponse.Date");
}


} } // namespace aliyun { namespace R_kvstore {

// end of file 
